<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../lib/vue.js"></script>
</head>
<body>

<div id="box">
    <my-aaa></my-aaa>
</div>

<script>
    Vue.component('my-aaa',{
        template: '<h3>{{msg}}</h3>',
        data: function () {
            return {
                msg: "你好"
            }
        }
    })
    var vm = new Vue({
        el: '#box'
    })
</script>
</body>
</html>